package com.lsu.strategy.homework;

/**
 * 策略模式测试类
 *
 * @Author wang suo
 * @Date 2020/11/26 0026 10:01
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
        Discount discount = new Discount();
        discount.setDiscountWay(new Imedeen());
        System.out.println(discount.discount(100));
    }
}
